package cn.tedu.spring.diarray;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author ruoLi
 */
public class TestPerson {
    ApplicationContext context = new ClassPathXmlApplicationContext("bean-diarray.xml");

    @Test
    public void demo01Test() {
        Person person = context.getBean("person1", Person.class);
        System.out.println("person = " + person);
    }
}
